package com.acme.bankapp.service.bank;

public class BankDataFormat {
    
    static enum AccountTypeValueLexem {
	SAVING("s"), CHECKING("c");

	private String id;

	AccountTypeValueLexem(String id) {
	    this.id = id;
	}

	@Override
	public String toString() {
	    return id;
	}
    }
    
    static enum GenderValueLexem {
 	MALE("m"), FEMALE("f");

 	String id;

 	GenderValueLexem(String id) {
 	    this.id = id;
 	}

 	@Override
 	public String toString() {
 	    return id;
 	}
     }

     static enum KeysLexem {
 	ACCOUNT_TYPE("accounttype"), ACCOUNT_BALANCE("balance"), ACCOUNT_OVERDRAFT(
 		"overdraft"), CLIENT_NAME("name"), CLIENT_GENDER("gender");

 	private String lexem;

 	KeysLexem(String lexem) {
 	    this.lexem = lexem;
 	}

 	@Override
 	public String toString() {
 	    return lexem;
 	}
     }

     static final String KEY_VALUE_DELIMER = "=";


     static final String PAIRS_DELIMER = ";";

}
